import { checkNameForm } from "../commonFormRuler_string";
export default {
  component: {
    //展示型组件信息，每个组件的信息各不相同
    componentName: "audioUpload", // 组件名称
    settings: {
      // 对应的设置项， 可能不同组件设置也不尽相同。
      value: [],
      param: "audioUpload",
      picId: "",
      picIdPram: "",
      rule: {
        required: false,
        validator: checkNameForm,
        trigger: ["blur", "change"],
        msg1: '请上传音频！',
        msg2: '',
        api: "",
        type: 'Array',
        useValue: '1',
        value: '',
        key: 'siteDomain',
        params: {}, //校验传参
      },
      label: "音频",
      beforeText: "",
      afterText: "",
      maxCount: 1,
      marginLeft: 32,
      accept: "mp3",
      uploadTitle: "上传音频",
      multiple: true,
      extra: "",
      type: "singlePictrueUpload",
      optionValue: "",
      associated: "",
      associatedValue: true,
    },
  },
};
